package com.qianda.qdminiapp.domain.data;

import lombok.Data;

import java.math.BigDecimal;

@Data
public class QqdRedpacketActivityData {

    private Integer hasRedpacket;//是否有红包 0:没有   1：有
    private Long redpacketActivityId;//红包活动id
    private String redpacketActivityName;//红包活动名称
    private Long redpacketAmtDetailId;//红包活动详情id;
    private BigDecimal amt ;//随机获取的金额

    public QqdRedpacketActivityData(Integer hasRedpacket) {
        this.hasRedpacket = hasRedpacket;
    }

    public QqdRedpacketActivityData() {
    }

    public QqdRedpacketActivityData(BigDecimal amt) {
        this.amt = amt;
    }

    public QqdRedpacketActivityData(Integer hasRedpacket, Long redpacketActivityId, String redpacketActivityName, Long redpacketAmtDetailId, BigDecimal amt) {
        this.hasRedpacket = hasRedpacket;
        this.redpacketActivityId = redpacketActivityId;
        this.redpacketActivityName = redpacketActivityName;
        this.redpacketAmtDetailId = redpacketAmtDetailId;
        this.amt = amt;
    }
}
